/**
 * Created by Administrator on 2015/12/24.
 */
function Thread() {
};
Thread.prototype = {
  set:function(obj_thread){
    "use strict";
    obj_thread || (obj_thread = {});
    this.thread_info = {
      type: obj_thread.type,
      title: obj_thread.title
    };
  },
  get:function(){
    "use strict";
    return this.thread_info;
  },
  postThread:function(){
    "use strict";
    console.log('object for thread ',this.thread_info);
    console.log("thread is creating.");
  },
  updateThread:function(){
    "use strict";
    console.log("object for thread",this.thread_info);
    console.log("thread is updating.")
  },
  ABC:function(){
    "use strict";
    console.log("object for thread",this.thread_info);
    console.log("thread is AVB.")
  }
};
exports =module.exports = Thread;
